<?php
/**
 * Created by PhpStorm.
 * User: lzy
 * Date: 2018/6/1
 * Time: 上午1:20
 */
namespace App\Content\Contracts;
/**
 * 广告接口
 * Interface NewsInterface
 * @package App\Content\Contracts
 */
interface  AdvInterface{
    /**
     * 获取公告列表
     * @param $where
     * @return mixed
     */
   public function getList($where);

    /**
     * 保存公告数据
     * @param $data
     * @return mixed
     */
   public function saveData($data);

    /**
     * 获取公告单条信息
     * @param $id
     * @return mixed
     */
   public function getInfo($id);

    /**
     * 删除数据
     * @param $where
     * @return mixed
     */
   public function deleteData($where);
}